package com.gdit.zax.entitys;

import java.sql.Timestamp;

public class UserInfo {
	private String username = "";
	private String imei = "";
	private String password = "";
	private int age;
	private int sex;
	private String email = "";
	private String phone = "";
	private String Introduction = "";
	private int score;
	private String IdentityCard = "";//省份证
	private String truename = "";
	private String nick = "";
	private String address = "";
	private String userhead = "";
	private int ulevel;
	private int tlevel;
	private Timestamp logintime;
	
	private String accesstoken= "";
	private String logincookie = "";
	private String loginflag = "";
	private int schoolid;
	private String dbuserid;
	

	
	
	
	public String getDbuserid() {
		return dbuserid;
	}
	public void setDbuserid(String dbuserid) {
		this.dbuserid = dbuserid;
	}
	public int getSchoolid() {
		return schoolid;
	}
	public void setSchoolid(int schoolid) {
		this.schoolid = schoolid;
	}
	public int getTlevel() {
		return tlevel;
	}
	public void setTlevel(int tlevel) {
		this.tlevel = tlevel;
	}
	public String getLogintime() {
		if (addtime==null) {
			return "";
		}
		return addtime.toString().replace(".0", "");
	}
	public void setLogintime(Timestamp logintime) {
		this.logintime = logintime;
	}
	public String getLoginflag() {
		return loginflag;
	}
	public void setLoginflag(String loginflag) {
		this.loginflag = loginflag;
	}
	public String getLogincookie() {
		return logincookie;
	}
	public void setLogincookie(String logincookie) {
		this.logincookie = logincookie;
	}
	public int getUlevel() {
		return ulevel;
	}
	public void setUlevel(int ulevel) {
		this.ulevel = ulevel;
	}
	public String getIdentityCard() {
		return IdentityCard;
	}
	public void setIdentityCard(String identityCard) {
		IdentityCard = identityCard;
	}
	public String getTruename() {
		return truename;
	}
	public void setTruename(String truename) {
		this.truename = truename;
	}
	public String getNick() {
		return nick;
	}
	public void setNick(String nick) {
		this.nick = nick;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getUserhead() {
		return userhead;
	}
	public void setUserhead(String userhead) {
		this.userhead = userhead;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getIntroduction() {
		return Introduction;
	}
	public void setIntroduction(String introduction) {
		Introduction = introduction;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getImei() {
		return imei;
	}
	public void setImei(String imei) {
		this.imei = imei;
	}
	public String getAccesstoken() {
		return accesstoken;
	}
	public void setAccesstoken(String accesstoken) {
		this.accesstoken = accesstoken;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	
	
	
	
	
	private int id;
	private Timestamp addtime;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getAddtime() {
		if (addtime==null) {
			return "";
		}
		return addtime.toString().replace(".0", "");
	}
	public void setAddtime(Timestamp addtime) {
		this.addtime = addtime;
	}
}
